﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace DevCorner.Services.Interfaces
{
  [ServiceContract(Namespace = "http://www.alexgolesh.com/services/NotificationService", CallbackContract = typeof(INotificationClient))]
  public interface INotificationService
  {
    [OperationContract]
    void SendRAWNotification(List<Uri> Uris, byte[] payload);

    [OperationContract]
    void SendToastNotification(List<Uri> Uris, string message1, string message2);

    [OperationContract]
    void SendTileNotification(List<Uri> Uris, string TokenID, string BackgroundImageUri, int Count, string Title);

  }

  [ServiceContract]
  public interface INotificationClient
  {
    [OperationContract(IsOneWay = true)]
    void NotifyOnMessageSend(WindowsPhone.PushNotificationManager.CallbackArgs args);
  }
}
